package com.huixue.cn.ztej.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huixue.cn.ztej.bean.EmployHour;
import com.huixue.cn.ztej.dao.EmployHourMapper;


@Service
public class EmployHourServiceImpl {
	@Autowired
	private EmployHourMapper employHourDao;
	
	public EmployHour selectById(String tId){
		return employHourDao.selectById(tId);
	}
	public List<EmployHour> selectList(Map<String, Object> map){
		return employHourDao.selectList(map);
	}
	
	public List<EmployHour> findByApplyId(String ApplyId){
		return employHourDao.findByApplyId(ApplyId);
	}
	
	public Long selectCount(Map<String, Object> map){
		return employHourDao.selectCount(map);
	}

	public void insert(EmployHour employHour){
		employHourDao.insert(employHour);
	}
	
	public void updateById(EmployHour employHour){
		employHourDao.updateById(employHour);
	}
	
	public void updateByIdSelective(EmployHour employHour){
		employHourDao.updateByIdSelective(employHour);
	}
	
	public void deleteById(String tId){
		
	}
}
